"Jeff's Calculator" is, well, a calculator for your Macintosh™. It has all of the functions that you might find in a basic hand-held calculator from your local electronic gadget shop plus functions that convert metric units to U. S. units and vice versa.
This is version 1.0.1; April 1999. I hope to keep the latest versions of "Jeff's Calculator" posted to the Info-Mac HyperArchive, which is searchable at http://hyperarchive.lcs.mit.edu/HyperArchive.html. I will also keep the latest versions of it on my web page at: http://www3.tky.3web.ne.jp/~lundietz/jeffsoft.html.
Other Measurement Units
There is one button on the calculator that has a Chinese character on it. This is the character for the Japanese unit of area called, "Tsubo." One Tsubo is 3.24 square meters and in general is used when talking about real estate in Japan. I added this key for my wife who often needs to make this conversion when talking with her clients. I hope that others will find it useful as well.
If you are interested in the measurements for long ton, British gallon, or nautical mile which are not currently implemented as buttons, this might help.
Unit U. S. Equivalent Metric Measurement
long ton 1.12 short tons
2240 pounds 1.016 metric tons
British gallon 1.200949 gallons 4.5460865 liters
nautical mile 1.151 statute miles 1.852 kilometers
Tell Me More
Using "Jeff's Calculator" should be self-explanatory but here are a few tips.
• In addition to the File Menu's Quit command and the window's close box, you can also quit the program by clicking on the OFF/ON switch. I know, I know, that makes 4 different ways to quit if you count the key command. The OFF/ON switch was so fun to make and it looked so cool that I couldn't bring myself to leave it out of the final version. Hand-held calculators have these switches so why not mine? Anyway, a Mac is supposed to be fun, right? :-)
• The "2nd" key only affects the keys above the divider line. This may change in the future, however, if more functions are added. I'd like to try to keep the window size about the same in any future versions.
• The "%" key divides the operand you input by 100 unless you have already input a number and then pressed a light blue operator key other than "equals." In that case, the following formula is used: v = total * (v / 100) where v is operand and total is whatever number you had already input. Consider the following:
20 % + 100 = 100.2
100 + 20 % = 120
Obviously, typing 2-0-% first doesn't make a lot of sense, right?
• Choosing "Copy" from the Edit menu will copy the number in the calculator's display to the clipboard without having to "Select All" first.
• Choosing "Paste" from the Edit menu will paste what's on the clipboard into the calculator only if the clipboard contains a number.
• The Edit menu's "Clear" performs a "clear entry" or "clear" in the same fashion as the CE/C button does.
Why Make Another Calculator for Macintosh™?
"Jeff's Calculator" was programmed in REALbasic™ which is a completely cool object-oriented BASIC programming environment for Mac OS™. I did this project as a way to learn about the REALbasic™ IDE and basically just to have fun. I also wanted to be able to press one button to convert from metric to U.S. units rather than going to the trouble of typing in the numbers after looking up a conversion formula, or going to the menu bar to choose a conversion as some other fine programs do. Since I'm an American living in Japan, I find myself converting to U.S. units when talking to friends at home. Not many of them realize right away why I'm uncomfortable when it's 30 degrees outside. I'm from Minnesota and 30 degrees Fahrenheit isn't very cold but 30 degrees Celsius is pretty hot.
This is my first shareware offering and I hope you like it. Any bug reports or feature requests may be e-mailed to the address below. If you'd like to learn more about REALbasic™, visit the REAL Software web site at http://www.realsoftware.com/realbasic.html.
Contact Information
I can be contacted via e-mail at jdietz@kagi.com Please use this e-mail address for bug reports, feature requests, questions and comments.
Payments for "Jeff's Calculator" (see also "Using Register" below) can be sent via postal mail to:
Kagi
1442-A Walnut Street #392-QEE
Berkeley, California 94709-1405
USA
Thanks!
Thank you for trying my program!
I would also like to thank Don Zouras for writing the Pref Maker class. "Jeff's Calculator" can automatically save its window position and the number in memory when it is quit.
Known Problems
I am not now aware of any problems. This does not mean that there are none. I have done my best to make sure that there are no problems running this application. I have tested "Jeff's Calculator" on a few Macintosh™ computers but I can not guarantee that there will be no problems on any machine. Please feel free to send bug reports outlining reproduceable problems to my e-mail address listed above.
Version History
1.0.1 Squashed a tiny, hard to find but silly bug that prevented the user from clearing the calculator unless the equals button was pressed.
1.0 First public release. YEAH!
Support Shareware
"Jeff's Calculator" is shareware. It is not disabled in any way but it will show a friendly shareware reminder until you register and press the "I Paid" button. You may try it for up to 30 days. If you like it and decide to keep it, please use the enclosed "Register" application to register and pay for "Jeff's Calculator." Please see "Using Register" below for pricing information. (If you live in Japan, you may send me cash in Japanese Yen [genkin kakitome], but send me an e-mail message first and I will send you my Japanese mailing address.)
You may redistribute this entire package (i.e. Jeff's Calculator application, this Read Me file and the Register application) to as many friends, acquaintances, or other humans as you like as long you don't charge for it. If you would like to put the Jeff's Calculator package on a free CD-ROM, you may, but please send me an e-mail message telling me that you are doing so. A copy of the CD would be nice, too. :-) For-profit distribution on CD-ROM or other media is permitted if you send me a copy of the CD or allow me an opportunity to purchase the CD at a nominal price. In this scenario, please contact me beforehand via the e-mail address listed above. In case you would like to send me a CD-ROM, I will be happy to send you my personal mailing address.
Using "Register"
My Program has the following pricing. Single-user licenses are US$15 per user. A Site License costs US$375 (for 27 users or more) and covers all locations for your organization within a 160 kilometer radius of your site (100 miles). One big advantage of a Site License is that you do not need to keep track of how many people at your site are using the software.
Paying for my application is fairly simple. Kagi handles my payment processing. Open the Register application that accompanies "Jeff's Calculator." Enter your name, your e-mail address, and the number of single-user or site licenses you desire. Save or Copy or Print the data from the Register program and send the data and payment to Kagi.
If paying with Credit Card or First Virtual, you can e-mail or fax the data to Kagi. Their e-mail address is sales@kagi.com and their fax number is +1 (510) 652-6589. You can either Copy the data from Register and paste into the body of an e-mail message or you can Save the data to a file and you can attach that file to an e-mail message. There is no need to compress the data file, it's already pretty small. If you have a fax modem, just Print the data to the Kagi fax number.
Payments sent via e-mail are processed within 3 to 4 days. You will receive an e-mail acknowledgement when it is processed. Payments sent via fax take up to 10 days and if you provide a correct internet e-mail address you will receive an e-mail acknowledgement.
If you are paying with Cash or USD Check you should print the data using the Register application and send it to the address shown on the form, which is:
Kagi
1442-A Walnut Street #392-QEE
Berkeley, California 94709-1405
USA
You can pay with a wide variety of cash from different countries but at present if you pay via check, it must be a check drawn in US Dollars. Kagi cannot accept checks in other currencies, the conversion fee for non-USD checks is around US$15 per check and that is just not practical.
If you have a purchasing department, you can enter all the data into the Register program and then select Invoice as your payment method. Print three copies of the form and send it to your accounts payable people. You might want to highlight the line that mentions that they must include a copy of the form with their payment. Kagi can not invoice your company, you need to act on my behalf and generate the invoice and handle all the paperwork on your end.
Please do not fax or e-mail payment forms that indicate Cash, Check or Invoice as the payment method. As far as we know, there is still no technology to transfer physical objects via fax or e-mail and without the payment, the form cannot be processed. Payments send via postal mail take time to reach Kagi and then up to 10 days for processing. Again, if you include a correct e-mail address, you will hear from Kagi when the form is processed.
"Jeff's Calculator" has a very limited protection scheme. When you pay, you may press the "I Paid" button with a clear conscience and the shareware messages at startup will cease.
Disclaimer of Warranty; Limitation of Liability
BY USING THIS SOFTWARE, YOU UNDERSTAND AND AGREE THAT THE SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, WITHOUT LIMITATION, ANY WARRANTY OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
THE ENTIRE RISK AS TO THE RESULTS AND PERFORMANCE OF THE SOFTWARE IS ASSUMED BY YOU. JEFF DIETZ ASSUMES NO RESPONSIBILITY FOR THE ACCURACY OR APPLICATION OF OR ERRORS OR OMISSIONS IN THE SOFTWARE. IN NO EVENT SHALL JEFF DIETZ BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE SOFTWARE, EVEN IF JEFF DIETZ HAS BEEN ADVISED OF THE LIKELIHOOD OF SUCH DAMAGES OCCURRING. JEFF DIETZ SHALL NOT BE LIABLE FOR ANY LOSS, DAMAGES OR COSTS, ARISING OUT OF, BUT NOT LIMITED TO, LOST PROFITS OR REVENUE, LOSS OF USE OF THE SOFTWARE, LOSS OF DATA OR EQUIPMENT, THE COSTS OF RECOVERING THE SOFTWARE, THE MEDIA, DATA OR EQUIPMENT, THE COST OF SUBSTITUTE SOFTWARE, MEDIA, DATA OR EQUIPMENT OR CLAIMS BY THIRD PARTIES, OR OTHER SIMILAR COSTS.
SOME STATES DO NOT ALLOW EXCLUSION OR LIMITATION OF IMPLIED WARRANTIES OR LIMITATION OF LIABILITY FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES; SO THE ABOVE LIMITATIONS OR EXCLUSIONS MAY NOT APPLY TO YOU.